/**
 * Project oo_thread
 */


#ifndef _THREAD_H
#define _THREAD_H
#include <pthread.h>
class Thread {
public: 
    
Thread();
    
void start();
    
void join();
private: 
    pthread_t _pthid;
    bool _isRunning;
    
/**
 * @param void *
 */
static void * start_routine(void * arg);
    
virtual void run() = 0;
};

#endif //_THREAD_H
